#!/bin/bash
SERVER_NAME="ice104.jar"
MAIN_CLASS="com.ydl.iec.test.Test"
JAVA_OPS="-classpath ./lib/*:$SERVER_NAME  -javaagent:$SERVER_NAME"
JAVA_GC=""
JAVA_MEM_OPTS="-server -Xms512m -Xmx512m -XX:PermSize=128m"

nohup java $JAVA_OPS $JAVA_GC $JAVA_MEM_OPTS $MAIN_CLASS >/dev/null 2>&1 &